import http from '@/utils/http'

// 获取身体部位
export const listBodyPart = () => {
	return http.get(`/knowledge/app/bodyPart/list`)
}

// 获取科室
export const listDepartment = () => {
	return http.get(`/knowledge/app/department/list`)
}

// 获取疾病知识
export const listDiseasePage = (params) => {
	return http.get(`/knowledge/app/disease/page`, params)
}

// 获取疾病知识详情
export const getDiseaseDetail = (id) => {
	return http.get(`/knowledge/app/disease/detail/${id}`)
}